package com.qualityevaluationclouduser.service;

import com.qualityevaluationclouduser.entity.RoleInfo;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @program: qualityEvaluationCloudProject
 * @description: 角色信息服务接口
 * @author:
 * @create:
 **/
public interface RoleInfoService {
    RoleInfo addRoleInfo(RoleInfo roleInfo);
    void delRoleInfo(Long id);
    RoleInfo updRoleInfo(RoleInfo roleInfo);
    Page<RoleInfo> pageQueryRoleInfoList(int page,int size);
    void delRoleInfosByIdIn(List<Long> ids);
    Page<RoleInfo> pageQueryRoleInfoByName(String name,int page,int size);
    List<RoleInfo> findRoleInfoList();
    void addDefaultAuthoritys(Long roleId, Long[] MenuInfoIdList);
}
